<h1>Đăng nhập</h1>
<div id="userGroups-container1">	
	<div class="userGroups-form">
		<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'login-form',
			'enableAjaxValidation'=>false,
			'focus'=>array($model, 'username'),
		)); ?>
				<div class="title_form">ĐĂNG NHẬP TÀI KHOẢN</div>
				<div class="row">
					<div style="padding:5px 0px;"><?php echo $form->labelEx($model,'Username:'); ?></div>
					<?php echo $form->textField($model,'username',array('style'=>'width:150px')); ?>
					<?php echo $form->error($model,'username'); ?>
				</div>
			
				<div class="row">
					<div style="padding:5px 0px;"><?php echo $form->labelEx($model,'Password:'); ?></div>
					<?php echo $form->passwordField($model,'password',array('style'=>'width:150px')); ?>
					<?php echo $form->error($model,'password'); ?>
				</div>
			
				<div class="row checkbox" style="padding:5px 0px;">
					<?php echo $form->checkBox($model,'rememberMe'); ?>
					<?php echo $form->label($model,'Nhớ tên đăng nhập'); ?>
					<?php echo $form->error($model,'rememberMe'); ?>
				</div>
				<?php if (UserGroupsConfiguration::findRule('registration')): ?>
				<div class="row">
					<?php echo CHtml::link(Yii::t('userGroupsModule.general', 'register'), array('/userGroups/user/register'))?>
				</div>
				<?php endif; ?>
				<div style="padding-left:150px;">
					<button class="btn btn-primary" type="submit"><i class='icon-user icon-white'></i><b> Login</b></button>
				</div>
		<?php $this->endWidget(); ?>
	</div><!-- form -->
	<div class="userGroups-icon">
		<img src="<?php echo Yii::app()->request->baseUrl;?>/img/icon_login.png">
	</div>
</div>